-- CREATE TIME:${createTime}
-- TABLE NAME:${tableName}
DROP TABLE IF EXISTS `${tableId}`;
CREATE TABLE `${tableId}` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id自增',
	<#list columns as column>
  `${column.id}` ${column.type}<#if column.binary> COLLATE utf8mb4_bin</#if> DEFAULT NULL COMMENT '${column.name}${column.comment}',
	</#list>
  `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT '${tableName}';